package com.company.eos.controller.form.audit;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * @author Song, Wei
 * Date: 2022/4/28 15:25
 */
@Data
@Schema(description = "查询审批任务详情信息表单")
public class SearchAuditContentForm {

    @NotBlank(message = "flowId不能为空")
    private String flowId;

    @NotBlank(message = "type不能为空")
    @Pattern(regexp = "^员工请假$|^会议申请$|^员工离职$|^报销申请$", message = "type内容不正确")
    private String type;
//
//    @NotBlank(message = "status不能为空")
//    @Pattern(regexp = "^待审批$|^已审批$|^已结束$", message = "status内容不正确")
//    private String status;
}
